#!/bin/bash

name=$1
man $name > ~/tmp/${name}.txt
nvim ~/tmp/${name}.txt
rm -f ~/tmp/${name}.txt
